package com.example.springboot_manage.service.impl;

import com.example.springboot_manage.repository.BrandMapper;
import com.example.springboot_manage.pojo.Brand;
import com.example.springboot_manage.pojo.BrandExample;
import com.example.springboot_manage.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private BrandMapper brandMapper;

    @Override
    public List<Brand> selectBrandList() {

        return brandMapper.selectByExample(new BrandExample());
    }
}
